package fields;
import game.Player;
public class Jail extends Field {

	public Jail(int number, String name) {
		super(number, name);
	}
	
	public String fieldInfo(Player p) {
		return p.getName()+" have been jailed!";
	}
	
	public void landOnField(Player p) {
		p.setInJail();
	}
}
